import { BaseService } from './base-service';

class APIService extends BaseService {
  getList(data) {
    return this.request({
      method: 'post',
      url: `/project/list`,
      data
    });
  }
  groupList(params) {
    return this.request({
      method: 'get',
      url: `/project/group`,
      params
    });
  }
  getConditoin(params) {
    return this.request({
      method: 'get',
      url: `/project/screen/config`,
      params
    });
  }
  getDetail(params) {
    return this.request({
      method: 'get',
      url: `/project/info`,
      params
    });
  }
}

export const apiService = new APIService();
